/**
 * Filename: YNMusicAlbum.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/5/16 15:52
 */
package com.github.postsanf.yinian.bean;
/**
 * 忆年音乐相册类
 */
public class YNMusicAlbum extends BaseBean
{
    private int maID;            // ID
    private String maCover;         // 封面图
    private String maName;          // 标题
    private YNMaUser userInfo;      // 发布者
    private String maContent;       // 内容
    private String musicUrl;        // 音乐地址
    private String pictureUrl;      // 图片列表
    private String templetUrl;      // 模板地址
    private String maTitle;         // 标题(备)
    private String maTime;          // 创建时间

    public int getMaID() {
        return maID;
    }

    public void setMaID(int maID) {
        this.maID = maID;
    }

    public String getMaCover() {
        return maCover;
    }

    public void setMaCover(String maCover) {
        this.maCover = maCover;
    }

    public String getMaName() {
        return maName;
    }

    public void setMaName(String maName) {
        this.maName = maName;
    }

    public YNMaUser getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(YNMaUser userInfo) {
        this.userInfo = userInfo;
    }

    public String getMaContent() {
        return maContent;
    }

    public void setMaContent(String maContent) {
        this.maContent = maContent;
    }

    public String getMusicUrl() {
        return musicUrl;
    }

    public void setMusicUrl(String musicUrl) {
        this.musicUrl = musicUrl;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public String getTempletUrl() {
        return templetUrl;
    }

    public void setTempletUrl(String templetUrl) {
        this.templetUrl = templetUrl;
    }

    public String getMaTitle() {
        return maTitle;
    }

    public void setMaTitle(String maTitle) {
        this.maTitle = maTitle;
    }

    public String getMaTime() {
        return maTime;
    }

    public void setMaTime(String maTime) {
        this.maTime = maTime;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNMusicAlbum) {
            return this.maID == ((YNMusicAlbum) o).maID;
        }
        return super.equals(o);
    }
}
